/**
 *  The race-facts controller
 */

app.controller('raceFactsController', ['$scope', function ($scope) {
    var collapseIn = "";
    
    $scope.setCollapse = function(collapseName){  
        collapseIn = collapseName;
    };
    $scope.isCollapsed = function(collapseName){
        return collapseIn === collapseName;
    };
}]);